﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using MedicalCare.EntityDefinitions.Entities;

namespace MedicalCare.EntityMappings.EntityMaps
{
    //Champion 2013/1/5
    public class DistrictMapping : ClassMap<DistrictEntity>
    {
        public DistrictMapping()
        {
            Table("DistrictCode");
            Id(x => x.Id).Column("Id").Not.Nullable();
            Map(x => x.DisName).Column("DisName");
            Map(x => x.CityID).Column("CityID");
        }
    }
}
